import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'

import usercenter from '@/pages/UserCenter'

import userlogin from '@/pages/UserLogin'
import hoomye from '@/pages/Hoomye'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'hoomye',
      component: hoomye
    },{
      path: '/user/center',
      name: 'usercenter',
      component: usercenter
    },
  ]
})
// export default new Router({
//   routes: [
//     {
//       path: '/',
//       name: 'usercenter',
//       component: usercenter
//     }
//   ]
// })
